Skip to content

Instantly share code, notes, and snippets.

@apizz
apizz / Install_AirPrint_Printer.sh
Last active September 4, 2026 04:28
Programmatically adds an AirPrint printer, ideally with an icon
#!/bin/bash
# Use the built-in ipp2ppd tool to create a PPD file for AirPrint
# Add icon to PPD (if we can get one) and install the printer
# Required printer info
readonly PRINTER_IP='XXX.XXX.XXX.XXX'
readonly PRINTER_NAME='PRINTER_NAME'
readonly PRINTER_DISPLAY_NAME='PRINTER NAME'
readonly PRINTER_LOCATION='PRINTER LOCATION'
@safzanpirani
safzanpirani / claude-fable-5-1-prompt-bundle.md
Created September 1, 2026 17:44
Claude Fable 5.1 prompt bundle in Claude Code 2.1.257

Claude Fable 5.1 prompt bundle in Claude Code 2.1.257

This document records the Fable 5.1 prompt-related strings embedded in the @anthropic-ai/claude-code 2.1.257 next platform binary published on 2026-09-01. The names and text are version-specific. Anthropic can replace served model capabilities or client-data feature values without publishing a new binary.

Activation

@1cgh
1cgh / locksubsystem.xml
Last active September 4, 2026 04:26
XML для захвата объектов по подсистеме в конфигураторе. Будет захвачен корень нерекурсивно + указанная подсистема рекурсивно
<Objects xmlns="http://v8.1c.ru/8.3/config/objects" version="1.0">
<Configuration includeChildObjects = "false"/>
<Object fullName = "Подсистема.РодительскаяПодсистема.Подсистема.ПодсистемаДляЗахвата" includeChildObjects= "true">
<Subsystem includeObjectsFromSubordinateSubsystems = "true"/>
</Object>
</Objects>
@jimsafe
jimsafe / checkout.mmd
Created September 3, 2026 16:04
checkout v2 state machine sketch
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@catter1
catter1 / regions_unexplored.md
Last active September 4, 2026 04:14
Regions Unexplored Complete Biome List

Regions Unexplored - Biome List

While the wiki is being created, this is a complete list of all 71 Regions Unexplored biomes as of v0.5.5. Each listing contains the biome name, id, description, and two images. One image is taken without shaders (Vanilla), and the other with Complementary Unbound shaders with default configuration.

As a note, I do not consider myself an amazing photographer. Enjoy the screenshots there are! I hope this list and descriptions are of help to you.

Overworld

@Maciejdziuba
Maciejdziuba / README.md
Last active September 4, 2026 04:14
The Software Factory Playbook — Dex Horthy's 4-gate workflow (Product → Architecture → Program Design → Vertical Slices) as an installable Claude Code skill. From the Dex Horthy episode on David Ondrej's podcast.

The Software Factory Playbook — Dex Horthy's 4-gate workflow as a skill

A Claude Code Agent Skill built from Dex Horthy's (HumanLayer) playbook on David Ondrej's podcast.

"Once the model has written thousands of lines of code, it is harder to change. The sessions that generate design docs are context-light — you get the most model intelligence when you do the hard thinking early."

By default, agents build horizontally: all the backend, then all the frontend, then a 2,000-line diff lands in your lap and reviewing it is your problem. This skill flips that. Every decision that matters gets made before the code exists — where changing your mind costs a sentence, not a rewrite.

What it does

@VintageEngineer
VintageEngineer / porsche_pcm5_mh2p_android _auto_tips.md
Last active September 4, 2026 04:13
Porsche PCM 5 (MH2p) Android Auto SD ModKit TIPS

Porsche PCM 5 (MH2p) Android Auto SD ModKit TIPS

Installation tips for enabling Android Auto on Porsche Communication Management (PCM) 5.0 systems via SD card flash.


Terminology & Concepts

  • MH2p: Modularer Infotainment-Baukasten High 2 Plus (Modular Infotainment Matrix, High tier, Generation 2, Plus version). Often referred to as MIB 2 High Plus.
  • PCM: Porsche Communication Management (the car's infotainment system, covering display, audio, radio, and communication functions).
@sutaburosu
sutaburosu / cakeday_hack.ino
Last active September 4, 2026 04:05
Sub-pixel resolution is kinda essential for 16x16 displays.
// by <sutaburosu@gmail.com>
// License: Creative Commons CC0
#include <Arduino.h>
#include <FastLED.h>
#include <colorutils.h>
#define BRIGHTNESS 64
#define LED_PIN 2
#define COLOR_ORDER GRB

Abrir teminal com direitos de administrador
git-bash installed with LxRunOffline
download last version https://github.com/DDoSolitary/LxRunOffline/releases
Alternative Download

cd ~/Downloads
curl -L -O https://github.com/DDoSolitary/LxRunOffline/releases/download/v3.5.0/LxRunOffline-v3.5.0-mingw.zip
ls LxRunOffline-v3.5.0-mingw.zip
unzip -j "LxRunOffline-v3.5.0-mingw.zip" "LxRunOffline.exe" -d "/c/Program Files/Git/usr/bin/"
@echo off
setlocal enabledelayedexpansion
REM === CONFIGURATION ===
if "%GLASSFISH_HOME%"=="" (
echo [ERROR] GLASSFISH_HOME not set in environment.
exit /b 1
)
set JAVA_HOME=C:\Program Files\Java\jdk-17